package com.kmgames.ballsengine.physics;

import com.badlogic.gdx.physics.box2d.BodyDef.BodyType;
import com.badlogic.gdx.physics.box2d.CircleShape;
import com.badlogic.gdx.physics.box2d.Fixture;
import com.badlogic.gdx.physics.box2d.World;

public class DynamicObjectFactory extends ObjectFactory {
	public DynamicObjectFactory(World world) {
		super(world);
	}

	public Fixture circle(float radius) {
		CircleShape shape = new CircleShape();
		shape.setRadius(radius);

		return createFixture(BodyType.DynamicBody, shape);
	}
}
